Systems and methods of communicating using xml

ABSTRACT

An embodiment is a method of providing services to users. A system receives an XML command at the network system from a service provider system. It parses the XML command and translates at least a portion of the XML command, which it uses to authorize an action. The system receives and translates the authorization result to produce an XML response, and transmits the XML response.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.13/462,585, filed May 2, 2012, which is a continuation of U.S. patentapplication Ser. No. 09/693,512, filed Oct. 20, 2000, now U.S. Pat. No.8,190,708, which claims priority from U.S. Prov. Pat. App. No.60/161,181, filed Oct. 22, 1999. The aforementioned patent applicationsand patents are hereby incorporated by reference as if set forth hereinin their entireties.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates generally to a network gateway device and,more particularly, to a network gateway device having an XML interfacefor communicating with external devices, such as billing and contentservers, via XML commands and responses.

2. Description of the Related Art

In order to connect the computer of a user/subscriber to one or morenetworks or other online services, a variety of gateway devices havebeen developed. For example, one advantageous gateway device isdescribed by U.S. patent application Ser. No. 08/816,174 and U.S.Provisional Patent Application No. 60/111,497, the contents of both ofwhich are incorporated herein by reference. The gateway device can serveas a gateway to the Internet, an enterprise network, or other networksand/or on-line services. In addition to serving as a gateway, thegateway device can automatically adapt to the protocols and otherparameters utilized by the host computer, in order that the hostcomputer may communicate with the network in a manner that istransparent both to the user/subscriber and the network. Once thegateway device has appropriately adapted to the packets coming from theuser's computer, the computer can appropriately communicate via thenetwork, such as the network at a hotel, at home, at an airport, or anyother location, in order to access other networks, such as theenterprise network, or other online services, such as the internet. Inthis fashion, the gateway device is capable of providing more efficientnetwork access and network maintenance to the user/subscriber and thenetwork operator.

Gateway devices must therefore communicate with a variety of externaldevices. For example, gateway devices typically communicate with billingand content servers which present customizable billing options andcontent pages for every subscriber of the gateway device. With respectto content, billing and content servers can present different log-onscreens and pricing to a subscriber based upon one or more attributesassociated with the subscriber. For example, a billing and contentserver can present different log-on screens and pricing based upon thelocation from which the subscriber accesses the network. In this regard,a subscriber in a suite may be presented with a different log-on screenand pricing options than a subscriber in a regular room or a conferenceroom. Additionally, billing and content servers can present subscriberswith customized web content based upon one or more attributes associatedwith the subscriber. By way of example, a billing and content server cancustomize the web content based upon the location from which thesubscriber accesses the network. In this respect, different fire escaperoute maps can be presented to the subscriber based upon the roomlocation from which the subscriber accesses the network. Additionally,guests in suites may have access to different web content thansubscribers residing in a standard room.

With respect to billing, billing and content servers typically interfacewith a credit card authorization server in order to obtain credit cardinformation and authorization regarding the various subscribers.Depending upon the billing arrangement of a particular subscriber, thebilling and content server can communicate directly with the credit cardauthorization service in order to appropriately charge the subscriber'scredit card account for the various services that the subscriberaccesses via the gateway device. Alternatively, the billing and contentserver can communicate via the gateway device with a network managementsystem, such as the property management system of a hotel, in order toappropriately charge the subscriber's account for the various servicesthat the subscriber accesses via the gateway device.

Billing and content servers can also perform other functions, such asdistributing email based upon mailing lists configured according tosubscriber-specific information. Billing and content servers can alsomaintain and update membership records, such as frequent users clubs orfrequent visitors clubs.

As briefly mentioned above, gateway devices may also communicate with anetwork management system, such as the property management systemmaintained by a hotel or the like. The functions performed by a networkmanagement system typically vary based upon the installation andapplication. For example, typical hotel property management systemsautomate operations such as room reservations, room assignments, guestcheck-in and check-out, and other front desk activities. Furthermore,typical hotel property management systems can maintain a log oftelephone calls and telephone charges for each guest room, and can be incommunication with the Internet to facilitate on-line reservations. Asdescribed in a provisional application entitled Systems And Methods ForEnabling Network Gateway Devices To Communicate With Management SystemsTo Facilitate Subscriber Management bearing application No. 60/160,973filed Oct. 22, 1999 and in a utility patent application entitled Systemsand Methods for Integrating A Network Gateway Device with ManagementSystems filed concurrently herewith, gateway devices oftentimescommunicate with network management systems, such as in instances inwhich the subscriber's access to various networks or on-line services isto be charged to their account that is administered by the networkmanagement system. The contents of these applications are alsoincorporated herein by reference.

Upon requesting access to a particular computer system or on-lineservice, the gateway device typically determines if the subscriber isentitled to access the computer system, the level of access and/or thetype of services to which the subscriber is entitled according to anAuthentication, Authorization, and Accounting (AAA) procedure that isdescribed by U.S. patent application Ser. No. 09/458,602 entitledSystems and Methods for Authorizing, Authenticating and Accounting UsersHaving Transparent Computer Access to a Network Using a Gateway Devicefiled Dec. 8, 1999, and a patent application entitled Systems andMethods for Providing Dynamic Network Authorization, Authentication andAccounting filed concurrently herewith, the contents of each of whichare incorporated herein by reference. An AAA server, which is a databaseof subscriber records, may be remote to the gateway device or the AAAdatabase may be incorporated into the physical embodiment housing thegateway device. As such, in instances in which the AAA server is remoteto the gateway device, the gateway device must also frequentlycommunicate with the AAA server.

In addition to the external devices described above with which thegateway device frequently communicates, gateway devices may alsocommunicate with a wide variety of other external devices depending uponthe application. Unfortunately, communications with any of theseexternal devices may be limited due to the particular format in whichthe external devices are designed to transmit and receive information.Since the external devices are typically designed by a number ofdifferent vendors, each of which may prefer a different format forcommunications, this problem is compounded by the lack of uniformity inthe format with which the external devices communicate. In this regard,one external device may be designed to communicate according to oneformat, while another external device may be required to communicateaccording to another format. Since the subscriber gateway may berequired to communicate with a variety of different external devices,the gateway device would seemingly have to communicate with eachexternal device according to the particular format that is acceptable tothe external device. This requirement can quickly prove cumbersome tothe design, implementation and efficient operation of a gateway devicesince it will be forced to communicate according to a number ofdifferent formats. While this requirement is a current concern for theefficient utilization of gateway devices that must communicate withmultiple external devices, this concern is expected to grow as thevariety of applications in which gateway devices are employed increasesand the number of different types of external devices with which thegateway device must communicate also grows.

SUMMARY OF THE INVENTION

An embodiment is a method of providing services to users. The method maybe performed at a network system. The system provides a subscribercomputer with access to at least one network. The system receives an XMLcommand at the network system from a service provider system. The systemparses the XML command to determine a type of operation requested by theservice provider system and to determine a user associated with the XMLcommand. The system translates at least a portion of the XML command toproduce data in a specialized data format configured to be compatiblewith a protocol associated with a service usage accounting system. Thesystem transmits the data in the specialized data format to the serviceusage accounting system, the data in the specialized data formatconfigured to authorize and bill an account associated with the user.The system receives an authorization result from the service usageaccounting system. The system translates the authorization result toproduce an XML response indicating that the XML command was received andprocessed appropriately. The system transmits the XML response from thenetwork system to the service provider system. The XML responsecomprises a confirmation identifier based on the authorization result.

In an embodiment, the protocol associated with the service usageaccounting system includes a telephone number, and translating at leasta portion of the XML command to produce data in the specialized dataformat comprises including descriptive data in the place of thetelephone number.

In an embodiment, the XML command comprises an identifier of a hotelroom number associated with the user, and the data in the specializeddata format comprises an identifier of the hotel room number included inthe XML command.

In an embodiment, communicating with the service usage accounting systemcomprises transmitting a second XML command to the service usageaccounting system.

An embodiment is a computing system configured to manage servicesprovided to users. The computing system includes one or morecommunications interfaces configured to communicate with a guest serviceand with an accounting system. The computing system includes asubscriber interface configured to provide a subscriber computer withaccess to at least one network and to adapt to the subscriber computerto facilitate communications between the subscriber computer and the atleast one network. The computing system includes an XML processingmodule, executed on at least one processor. The XML processing modulereceives an XML command from the guest service, and parses the XMLcommand to determine a type of operation requested by the guest serviceand to determine a user associated with the XML command. XML processingmodule transmits data, in a format specific to the accounting system, tothe accounting system to authorize and bill an account associated withthe user in accordance with data in the XML command. The XML processingmodule receives an authorization result from the accounting system, andtransmits an XML response to the guest service. The XML responsecomprises a confirmation identifier based on the authorization result.

In an embodiment, communicating with the accounting system comprisestransmitting a second XML command to the accounting system.

In an embodiment, the XML command includes data representing a paymentamount and a room number.

In an embodiment, the format specific to the accounting system is a callaccounting record format.

In an embodiment, the XML processing module is further configured togenerate data in a plurality of formats each specific to a type ofaccounting system, to thereby enable communication with the plurality oftypes of accounting systems.

In an embodiment, the XML command comprises an identifier of a hotelroom number associated with the user, and wherein the data in the formatspecific to the accounting system comprises an identifier of a hotelroom number based on the hotel room number included in the XML command.

An embodiment is a non-transitory computer-readable medium, comprisinginstructions configured to cause a computer processor to performoperations such as the following. The processor parses a first XMLcommand received from a first server, to determine a type of operationrequested by the first server and to determine a user associated withthe XML comm. The processor translates at least a portion of the XMLcommand to produce a command configured to be interoperable with aprotocol associated with a second server. The command is different fromthe XML command. The command comprises an identifier of the userassociated with the XML command and further comprising billinginformation. The processor transmits the command to the second server.The processor receives an authorization result from the second server.The processor generates an XML response based on the receivedauthorization result. The XML response indicates that the XML commandwas received and processed appropriately. The processor transmits theXML response to the first server.

In an embodiment, the command is configured to appear to originate froma Private Branch Telephone System (PBX).

In an embodiment, the protocol associated with the second serverrequires a telephone number record, and the command comprises adescriptive record in the place of a telephone number record.

In an embodiment, the computer-readable medium also includesinstructions configured to cause the computer processor to producecommands specific to a plurality of protocols, to thereby enablecommunication with a plurality of types of servers.

In an embodiment, determining the user associated with the XML commandcomprises determining a MAC address associated with the XML command andidentifying, in an authorization database, a user associated with theMAC address.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a computer system that includes a gatewaydevice for facilitating communications between one or more computers andvarious other networks or on-line services in a manner that istransparent to both the user/subscribers and the network administratorsand internet service providers.

FIG. 2 is a block diagram illustrating the format and protocol ofmessages transmitted to and from a gateway device according to oneembodiment of the present invention, including messages transmittedbetween the gateway device and a billing and content server.

FIG. 3 is a block diagram illustrating an XML interface of a gatewaydevice according to one embodiment of the present invention, as well asthe various devices with which the XML interface communicates.

FIG. 4 is a stack representation of the XML interface of FIG. 3 as wellas the various devices with which the XML interface communicates so asto illustrate the relative hierarchy between the respective devices.

FIG. 5 is a block diagram of a computer system that includes a gatewaydevice for automatically configuring one or more computers tocommunicate via the gateway device with other networks or other onlineservices, according to one embodiment of the present invention.

FIG. 6 shows a block diagram of the computer system of FIG. 5,implemented in a hotel computer system, according to one embodiment ofthe invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

According to the present invention, a gateway device and associatedmethod are therefore provided that facilitate communications withexternal devices by utilizing a uniform communications format. As such,the gateway device is not required to communicate with each externaldevice according to a unique format defined by the respective externaldevice. Accordingly, the gateway device and associated method of thepresent invention improve communications between the subscribercomputer, gateway device and various external devices, such as billingand content servers, property management systems, external AAA serversand the like.

According to one aspect of the present invention, a gateway device isprovided that includes a subscriber interface for adapting to asubscriber computer that is connected to the gateway device. Thesubscriber interface facilitates communications between the subscribercomputer and at least one network or on-line service without requiringthe subscriber computer to be reconfigured and, in particular, withoutrequiring the subscriber computer to support XML commands and responses.According to the present invention, the gateway device also includes anXML interface for communicating with an external device via a series ofXML commands and responses. The XML commands and responses can relate toa variety of matters, including various subscriber management matters.

Typically, the XML interface includes a parser front end, a parsersection and a building section for appropriately handling XML commandsthat are received by the gateway device and for sending appropriateresponses. The parser front end determines the type of operationrequested by the external device. The parser section is responsive tothe parser front and organizes elements parsed from either an XMLcommand or an XML response. Once parsed, the XML command is executed.Typically, the parser section passes at least some of the elements to arequested application. Prior to passing the elements to a requestedapplication, however, the parser section typically nests the elements tobe passed within an application programming interface (API) wrapper. Thebuilding section prepares responses to requests received by the gatewaydevice. Typically, the building section assembles results returned byrequested application into an XML response. The gateway device of thepresent invention can also include an internal web server forcommunicating with both the XML interface and the internet to therebyfacilitate XML-based communications between the gateway device andexternal devices connected to the internet. As such, the gateway devicesupports communications involving the subscriber computer and theexternal devices without ever requiring the subscriber computer tosupport XML commands and responses.

The present invention also provides a method for communicating betweenthe gateway device and external device via the internet. According tothis aspect of the present invention, an XML command is initiallyreceived at the gateway device from the external device, such as thebilling and content server. The XML command is then parsed, and theparsed XML command is executed, such as by being passed to a respectiveapplication program, such as the AAA server for performing the requestedfunction, such as a subscriber management function. Prior to passing theparsed XML command to the respective application program, however, theelements to be passed to the requested application are preferably nestedwithin an API wrapper. Upon completion of the requested function, theapplication program issues a response that is received by the gatewaydevice and that is then included within an XML response transmitted fromthe gateway device to the external device.

As such, the gateway device and associated method of the presentinvention facilitate communications between the subscriber computer, thegateway device and a variety of external devices, such as externalbilling and content servers, property management systems and externalAAA servers. In this regard, the gateway device can communicate witheach of these various external devices in a uniform manner via a seriesof XML commands and responses, thereby dramatically reducing, if noteliminating, the instances in which the gateway device would have tocommunicate with an external device according to the unique formatestablished by the external device. As a result, the design,implementation and operation of the gateway device should beconsiderably simplified. However, the gateway device and associatedmethod of the present invention permit the subscriber computer to enjoythe benefits of the common XML command and response format without everhaving to be reconfigured to support XML.

The present invention now will be described more fully hereinafter withreference to the accompanying drawings, in which preferred embodimentsof the invention are shown. This invention may, however, be embodied inmany different forms and should not be construed as limited to theembodiments set forth herein; rather, these embodiments are provided sothat this disclosure will be thorough and complete, and will fullyconvey the scope of the invention to those skilled in the art. Likenumbers refer to like elements throughout.

Referring now to FIG. 1, there is shown in block diagram form a computersystem 10 including a plurality of computers 14 that can communicatewith one or more online services 22 or networks via a gateway device 12that provides the interface between the computers and the variousnetworks 20 or online services. One embodiment of such a gateway devicehas been described in U.S. patent application Ser. No. 08/816,174 andU.S. Provisional Application No. 60/111,497 (collectively referred toherein as the Gateway Device Applications), the contents of which havebeen incorporated herein by reference. Briefly, the gateway devicefacilitates transparent computer access to the online services ornetworks, such that the computers can access any networks via thegateway device regardless of their network configurations. The gatewaydevice includes a subscriber interface that adapts to the computer of auser to facilitate communication between the computer and a network orother online service without requiring the computer to be reconfigured.In this regard, the subscriber interface of the gateway device has theability to recognize computers attempting to access a network, thelocation of computers attempting to access a network, the identity ofusers attempting to gain network access, and additional attributes, asis discussed in the Gateway Device Applications.

As illustrated in FIG. 1, the computer system 10 also includes an accessconcentrator 16 positioned between the computers 14 and the gatewaydevice 12 for multiplexing the signals received from the plurality ofcomputers onto a link to the gateway device. Depending upon the mediumby which the computers 14 are connected to the access concentrator, theaccess concentrator 16 can be configured in different manners. Forexample, the access concentrator can be a digital subscriber line accessmultiplexer (DSLAM) for signals transmitted via regular telephone lines,a cable head end (a Cable Modem Termination Shelf (CMTS)) for signalstransmitted via coaxial cables, a wireless access point (WAP) forsignals transmitted via a wireless network, a switch or the like.

The computer system 10 further includes one or more routers 18 and/orservers (not shown in FIG. 1) to control or direct traffic to and from aplurality of computer networks 20 or other online services 22. While thecomputer system is depicted to have a single router, the computer systemcan have a plurality of routers, switches, bridges, or the like that arearranged in some hierarchical fashion in order to appropriately routetraffic to and from the various networks or online services. In thisregard, the gateway device 12 typically establishes a link with one ormore routers. The routers, in turn, establish links with the servers ofthe networks or online services, based upon the user's selection. Itwill be appreciated by one of ordinary skill in the art that one or moredevices illustrated in FIG. 1 may be combinable. For example, althoughnot shown, the router may be located entirely within the gateway device.Furthermore, additional elements may be included in the computer system,such as elements disclosed in the Gateway Device Application, or networkelements known to those of ordinary skill in the art.

As described above, gateway devices 14 must typically communicate with avariety of external devices. For example, gateway devices typicallycommunicate with billing and content servers 26 as depicted in FIGS. 1and 2. As also described above, hilling and content servers presentcustomized billing options and content pages for every subscriber of agateway device. As such, gateway devices must communicate on a frequentbasis with the billing and content server.

The gateway device 12 may also communicate with a management system 28,such as the property management system of a hotel or the like. In thisregard, FIG. 2 shows a block diagram of the computer system of FIG. 1,integrated with a hotel computer system, according to one embodiment ofthe present invention. It will be appreciated by those of skill in theart that the embodiment shown in FIG. 2 is for illustrative purposes,and that the computer system may be integrated with virtually anynetwork or network management system, such as computer networksestablished in corporate offices, airports, arenas, apartment complexes,office buildings or the like. As a result, the embodiment shown in FIG.2 is for illustrative purposes only, and is not intended to limit thescope of the present invention.

While the functions performed by network management systems 28 varybased upon the installation and the application, typical hotel propertymanagement systems automate operations such as room reservations, roomassignments, guest check-in and check-out and other front deskactivities as described above. In addition, typical hotel propertymanagement systems can maintain a log of telephone calls and telephonecharges for application to the bill for each guest room. Accordingly,the gateway device 12 of the present invention can communicate with aproperty management system in order to place charges for the variousservices that a subscriber accessed via the gateway device upon theappropriate bill that is maintained by the property management system.

Moreover, while the AAA functionality is typically physically embodiedwithin the gateway device 12, the gateway device can be configured tocommunicate with external AAA servers in order to authenticate asubscriber, to obtain authorization for the services requested by thesubscriber and to appropriately account for their usage. In addition,gateway devices may communicate with a wide variety of other externaldevices, particularly as gateway devices are deployed in newapplications or installations.

In order to avoid the overhead associated with communicating with eachof these external devices according to the unique format in which theexternal device is designed to communicate, the gateway device 12 of thepresent invention communicates with the external devices with a seriesof commands and responses formatted according to the extensible markuplanguage (XML). As known to those skilled in the art, XML is defined asan application profile of the standard generalized markup language(SGML) that is defined by ISO 8879. While SGML has been the standard,vendor-independent technique to maintain repositories of structureddocumentation for more than a decade, SGML is not well suited to servingdocuments over the world wide web. While XML is designed to enable theuse of SGML on the world wide web, XML is not a single, predefinedmarkup language. Instead, XML allows the system designer to design theirown markup language. In this regard, a predefined markup language, suchas hypertext markup language (HTML), defines one manner in which todescribe information in one specific class of documents. In contrast,XML allows the system designer to define its own customized markuplanguages for different classes of documents. As such, XML specifiesneither semantics nor a tag set. However, XML provides a facility todefine tags and the structural relationships between them. See XMLspecification 1.0 for further details regarding XML.

XML has conventionally been utilized to facilitate communicationsbetween servers, such as for billing purposes, and not to facilitatecommunications with a user, either directly with a user's computer 14 orthrough an intermediary such as a gateway device 12. As such, computersare not generally configured to communicate in or to support XML. Inorder to provide a user with the advantages of XML including the abilityto communicate in a common language with a wide variety of networkdevices without requiring that each computer be reconfigured to supportXML, the gateway device 12 of the present invention serves as a proxyfor the user's computer and utilizes XML to communicate with a varietyof external devices, including the billing and content server 26 and theproperty management system 28. In addition, in instances in which theAAA functionality resides in an external AAA server, the gateway devicecan also communicate with the external AAA server via XML. Inparticular, the gateway device is designed to communicate with thenetwork devices according to a set of XML commands and XML responses,thereby affording the user's computer the advantages offered by XMLwithout requiring the user's computer to be reconfigured to support XML.Since the XML format is not specific to any particular external device,the gateway device can advantageously communicate with a variety ofexternal devices via a common format, i.e., XML, and need not formatmessages differently based upon the format with which the externaldevice is otherwise designed to communicate.

For example, a user can submit a request to purchase a product from anonline provider. According to the present invention and as described inthe following examples, the gateway device 12 can then communicate in acommon XML format with various network devices, including billing andcontent servers, to authenticate and authorize the user, to order theproduct and to account for the user's payment for the product, withoutever requiring the user's computer 14 to support XML.

As depicted in FIG. 3, the gateway device 12 typically includes aninternal web server 30 that processes HTTP streams that are receivedfrom external devices. In instances in which the external device and thegateway device will communicate via the XML protocol, the HTTP stringwill have XML as the content type, while the content itself will consistof tags, attributes and data. As known to those skilled in the art, tagsserve as field identifiers and attributes contain the values of inputparameters that are used as record keys or search arguments, i.e., a MACaddress. In addition, data elements are values that are to be stored inthe tables and authorization files of the gateway device. Data is alsoreturned in response streams sent by the gateway device to the externaldevices.

In order to handle XML commands that are received from an externaldevice, the gateway device 12 includes an XML interface, also known asan XML parser 32, that is typically comprised of software, that iscompliant with the world wide web consortium (W3C) standards to validatethe XML command strings and the attributes and data derived from an XMLquery string. As depicted in FIG. 3, an XML interface typically includesa parser front end 34 that is also typically comprised of software andthat invokes the core of a parser and determines the type of operationbeing requested. For example, in one common embodiment, the gatewaydevice will receive an XML command from the billing and content server26 requesting a specific AAA operation. As such, the followingdescription of the XML interface as well as accompanying FIGS. 3 and 4will be in terms of XML commands from the billing and content serverrequesting an AAA operation. However, the XML interface can facilitateXML-based communications between a wide variety of other devices withoutdeparting from the spirit and scope of the present invention. In thisregard, the only requirement is that the external device has an XMLinterface, i.e., an XML parser, and be adapted to support the same XMLcommand protocol as the gateway device. One example of an XML protocolfor communications between a gateway device and a billing and contentserver is provided below, although other XML command protocols can beestablished without departing from the spirit and scope of the presentinvention.

The XML interface 32 of the gateway device 12 also includes a parsersection 36, typically comprised of software, to handle elements as theyare parsed from the XML stream. In this regard, parsed elements areorganized into separate parameters that are passed to the requestedapplication, such as the AAA server, via an appropriate applicationprogram interface (API). As shown in FIG. 3, the sets of parameters thatare to be passed to the requested application are typically nestedinside or wrapped within a record structure having an appropriateprotocol as indicated by block 38 designated as the API “wrapper”, thatalso provides any necessary translation of data elements, e.g. thosethat need to be converted from string format to some numeric format forinternal processing reasons. Once properly wrapped, the sets ofparameters are passed via the appropriate API 40 to the requestedapplication, such as the AAA 42. The requested application then respondsto the request and provides the requested data via the API to the XMLinterface of the gateway device.

The gateway device 12 therefore also includes a building section 44 thatis also comprised of software and that prepares responses to requestsreceived by the gateway device. In this regard, the building section ofthe XML interface 32 assembles the results returned by the requestedapplication into a new XML string that will be part of the HTTP responsestream returned to the external device via a component such as theaforementioned go-ahead server. With respect to a HTTP response streamsent back to a billing and content server 26 via the world wide web, theHTTP response stream is typically nested inside a TCP/IP packet in orderto be appropriately transmitted and received by the billing and contentserver. See, for example, FIG. 2 that depicts the relative protocols andformats for signals transmitted between different elements of theoverall computer system 10. However, other protocols can be utilizedwithout departing from the spirit and scope of the present invention.

A response that is returned by the gateway device 12 can be one of twotypes. First, a standard “OK” response can be returned that typicallyincludes the data, if any, requested by the external device.Alternatively, an error response can be returned that typically consistsof a numeric error code and a textual description of the error. Ineither instance, the XML interface 32 generally creates a standardheader consisting of the status, such as “OK” or “ERROR”, the ID of thegateway device and the gateway device's IP address. This response isthen placed onto the world wide web by the internal web server 30 of thegateway device for delivery to the external device.

While the XML interface 32 of the gateway device 12 of the presentinvention will be primarily described hereinafter in conjunction withXML commands received by the gateway device from an external device,followed by XML responses sent by the gateway device to the externaldevice, the gateway device of the present invention can be constructedso as to initiate XML-based communications by issuing XML commands tovarious external devices and awaiting appropriate responses. Inaddition, while the gateway device including an XML interface willprimarily be described in conjunction with communications involving anexternal billing and content server 26 that requests information fromthe AAA server; the gateway device can establish XML-basedcommunications with other external devices, such as a propertymanagement system 28 or, in instances in which the AAA server isexternal to the gateway device, with the AAA server itself. In any ofthese instances, the gateway device is able to communicate with theexternal device or server according to a common protocol, i.e., XML,without having to communicate with each external device in the formatunique to the respective external device. As such, the only requirementof the external device is that the external device has an XML interfaceand be adapted to support the same XML command protocol as the gatewaydevice.

While various XML command protocols can be established depending uponthe external device and the nature of the communication between theexternal device and the gateway device 12, one command protocolestablished between an external billing and content server 26 and agateway device is hereinafter provided by way of example and not by wayof limitation. In this example, the billing and content server sends XMLcommands to the gateway device which, in turn, responds to the billingand content server. In one example, the XML commands transmitted by thebilling and content server to the gateway device are sent using an HTTPform POST in which the information is placed in packets sent after theHTTP header. In this example, the command text will generally follow thefollowing format:

<USG COMMAND=“(command)” [(attr)=“(attr_data)”]>  <(tag_n) [tag_n_attr =“(tag_n_attr_data)”]>(data_n)</(tag_n)> </USG> where: (command) is agateway device command; (attr) is an optional attribute associated witha command; (attr_data) is the data associated with the optionalattribute tag; (tag_n) is a data name tag used for specifying commandparameter names; (tag_n_attr) is an optional attribute name tag;(tag_n_attr_data) is optional attribute data, and (data_n) is the dataassociated with a data name tag.

In addition, the typical XML response from the gateway device 12 to abilling and content server 28 following receipt of an XML command fromthe billing and content server is typically formatted as follows:

HTTP/1.1 200 OK (specifies request understood) Server: UI 3A4B6D (usethe gateway device ID as the server name) Date: Fri, 23 Jul 199900:09:55 GMT (current date/time) Content-Type: text/xml (specifies XMLcontent) Last-Modified: Fri, 23 Jul 1999 00:09:55 (current date/time)GMT Content-Length: 560 (size of message body in characters) (this mustbe a blank line) (series of XML tag/data pairs) (end of message body)

In this regard, while the series of XML tag/data pairs referenced in theabove exemplary XML response format will depend upon the particularcommand as described below, one series of XML tag/data pairs typicallyfollow the following format:

<USG RESULT=“(RESULTCODE)” ID=“(UI)” IP=“(USG_IP_ADDR)”> [<ERROR_NUM>(error number)</ERROR_NUM>]  [<ERROR_DESC>(errordescription)</ERROR_DESC>]  <(tag_n) [tag_n_attr =“tag_n_attr_data”]>(data_n)</(tag_n)> </USG> where: (RESULTCODE) iseither “OK” or “ERROR”; (UI) is the gateway device ID; (USG_IP_ADDR) isthe IP address of the gateway device; (tag_n) is a data name tag;(tag_n_attr) is an optional attribute name tag; (tag_n_attr_data) isoptional attribute data; and (data_n) is the data associated with a dataname tag.

As indicated, all XML responses returned following an XML command willcontain error information. In this regard, the attribute RESULT will beassigned either “OK” or “ERROR”. If an error did occur, two additionaltag/data pairs will be added as part of the response form, namely,error_num and error_desc. The error number data will contain an integernumber representing the error that occurred, while the error descriptiondata will be a readable textual description of the error.

While a variety of commands and responses can be established based uponthe foregoing, XML command and response formats, examples of severalparticular commands that could be issued by a billing and content server26 to the gateway device 12, requesting either room administration oruser administration, are provided below. The resulting responsesprovided by the gateway device are also provided. However, the followingcommands and responses are for purposes of illustration only and shouldnot be construed as limitations of the type of XML commands andresponses that can be formulated.

Regarding room administration, the billing and content server 28 canissue an XML command to set the access mode of a specified room thatincludes the following command, command attribute, command attributedata, and tag/data pair:

Command: “ROOM_SET_ACCESS” Command attr: “ROOM_NUMBER” Commandattr_data: Room number (8 char. max string) tag_1: “ACCESS_MODE” data_1:“ROOM_OPEN,” “ROOM_CHARGE,” or “ROOM_BLOCK”

In response, the gateway device 12 would typically issue a standard XMLresponse indicating that the command was received and implementedappropriately or that an error occurred.

Also with respect to room administration, a billing and content server26 can issue a command querying the gateway device 12 regarding theaccess mode of a specified room. In this regard, the query room statuscommand could include the following command, command attribute, andcommand attribute data:

Command: “ROOM_QUERY_ACCESS” Command attr: “ROOM_NUMBER” Commandattr_data: Room number (8 char. max string)

In response, the gateway device 12 could return a standard response,including the following tags and data in which the room access mode isselected from one of “room_open”, “room_charge” or the “room_block”:

tag_1 = “ROOM_NUMBER” data_1 = (room number) tag_2 = “ACCESS_MODE”data_2 = (room access mode)

With respect to user administration, the billing and content server 26can issue a command to add or update a user that has been authorized foraccess and should now be added to the MAC or some other type ofauthorization table, that is, a memory table maintained by the gatewaydevice 12. In this regard, one example of an XML command to add/update auser typically includes the following command, command attribute,command attribute data, and tag/data pair:

Command: “USER_ADD” Command attr: “MAC_ADDR” Command attr_data: user MACaddress (string) tag_1: “USER NAME” data_1: (user name) tag_2:“PASSWORD” tag_2_attr: “ENCRYPT” tag_2_attr_data: “TRUE” or “FALSE”data_2: (user password) tag_3: “EXPIRY_TIME” tag_3_attr: “UNITS”tag_3_attr_data: “SECONDS,” “HOURS,” “DAYS” data_3: (number of expiryunits) tag_4: “ROOM_NUMBER” data_4: (user's room number) tag_5:“PAYMENT_METHOD” data_5: “RADIUS,” “PMS,” “CREDIT_CARD,” or “ROOM_OPEN”tag_6: “CONFIRMATION” data_6: (confirmation code/ID) tag_7: “PAYMENT”data_7: (amount paid for access)

In response, the gateway device 12 would typically issue a standard XMLresponse indicating that the command was received and processedappropriately or that an error occurred.

The billing and content server 26 can also issue an XML command todelete a user who is identified by a Subscriber Identifier, such as aMAC address, a user name or an IP address. In this regard, one exampleof a delete user command typically includes the following command, tagand data:

Command: “USER_DELETE” tag_1: “USER” tag_1_attr: “ID_TYPE”tag_1_attr_data: “MAC_ADDR,” “USER_NAME” or “IP_ADDR” data_1: ifID_TYPE=“MAC_ADDR” then (user MAC address) if ID_TYPE=“USER_NAME” then(user name) if ID_TYPE=“IP_ADDR” then (user IP address)

In response, the gateway device 12 would typically issue a standard XMLresponse indicating that the command was received and processedappropriately or that an error occurred.

The billing and content server 26 can also query the gateway device 12for the current user data by issuing an XML command that, in one,example, includes the following command, tag and data:

Command: “USER_QUERY” tag_1: “USER” tag_1_attr: “ID_TYPE”tag_1_attr_data: “MAC_ADDR,” “USER_NAME” or “IP_ADDR” data_1: ifID_TYPE=“MAC_ADDR” then (user MAC address) if ID_TYPE=“USER_NAME” then(user name) if ID_TYPE=“IP_ADDR” then (user IP address)

In response, the gateway device 12 typically uses a standard XMLresponse with the following tags/data pairs:

tag_1 = “MAC_ADDR” data_1 = user MAC address (string) tag_2 = “USERNAME” data_2 = (user name) tag_3 = “IP_ADDR” date_3 = (user IP address)tag_4 = “PASSWORD” data_4 = (user password) tag_5 = “EXPIRY_TIME”tag_5_attr = “UNITS” tag_5_attr_data = “SECONDS,” “HOURS,” “DAYS” data_5= (number of expiry units) tag_6 = “ROOM_NUMBER” data_6 = (user's roomnumber) tag_7 = “PAYMENT_METHOD” data_7 = “RADIUS,” “PMS,”“CREDIT_CARD,”   or “ROOM” tag_8 = “DATA_VOLUME” data_8 = (datatransferred by user in Kbytes)

The billing and content server 26 can also issue a command to check auser's identity, as specified by a MAC address, as one example, againstthe authorization tables maintained by the gateway device 12 or theassociated AAA server. If the user is found either in the MAC or roomauthorization table of this example, VALID_USER is returned along withthe user authorization method, such as RADIUS, property managementsystem (PMS) (in instances in which the fee is to be billed to theuser's account), credit card or room (in instances in which the room isopened up for free internet access). If the user was not found in theMAC or room authorization tables, INVALID_USER will be returned. In anyevent, the XML command issued by the billing and content servertypically includes the following command, command attribute and commandattribute data:

Command: “USER_AUTHORIZE” Command attr: “MAC_ADDR” Command attr_data:user MAC address (string)

In response, the gateway device 12 typically issues a standard XMLresponse indicating that the command was received and processedappropriately or that an error occurred, and that includes the followingtag and data pairs:

tag_1 = “STATUS” data_1 = “VALID_USER” or “INVALID_USER” tag_2= “PAYMENT_METHOD” data_2 = “RADIUS,” “PMS,” “CREDIT_CARD,” or “ROOM”

The billing and content server 26 can also issue an XML commandrequesting user authorization and payment. If the authorization methodthat the user has selected is RADIUS, then the gateway device 12 willestablish communication with the RADIUS server, authenticate the user,charge the user's account, and return the result of the authorization tothe billing and content server. If the authorization method chosen bythe user is PMS, the gateway device will establish communication withthe PMS 28, authenticate the user, have an access fee added to theuser's room bill, and return the result of the authorization to thebilling and content server. In either event, the XML command issued bythe billing and content server to request user authorization paymentincludes the following command, command attribute, command attributedata and tag and data pairs:

Command: “USER_PAYMENT” Command attr: “PAYMENT_METHOD” Commandattr_data: “RADIUS” OR “PMS” tag_1: “USER NAME” data_1: (user name)tag_2: “PASSWORD” tag_2_attr: “ENCRYPT” tag_2_attr_data: “TRUE” or“FALSE” data_2: (user password) tag_3: “EXPIRY_TIME” - only ifMETHOD=“PMS” tag_3_attr: “UNITS” tag_3_attr_data: “SECONDS,” “HOURS,”“DAYS” data_3: (number of expiry units) - only if METHOD=“PMS” tag_4:“ROOM_NUMBER” data_4: (user's room number) tag_5: “PAYMENT” - only ifMETHOD=“PMS” data_5: (amount charged for access) - only if METHOD=“PMS”

In response, the gateway device 12 issues a standard XML responseindicating that the command was received and processed appropriately orthat an error occurred, and that includes the following tag and data:

tag_1 = “CONFIRMATION” data_1 = (confirmation number/ID)

The billing and content server 26 can also issue an XML command ininstances in which a user makes an e-commerce or special servicepurchase that is to be charged, such as to the user's bill via theproperty management system 28. In this regard, the billing and contentserver issues an XML command that includes the following command,command attribute, command attribute data and tag and data pairs.

Command: “USER_PURCHASE” Command attr: “ROOM_NUMBER” Command attr_data:(room number) tag_1: “ITEM_CODE” data_1: (item code) tag_2:“ITEM_DESCRIPTION” data_2: (description of purchase) tag_3:“ITEM_AMOUNT” data_3: (amount of item without tax) tag_4: “ITEM_TAX”data_4: (tax charged on item) tag_5: “ITEM_TOTAL” data_5: (total amountcharged including tax)

In response, the gateway device will issue a standard XML responseindicating that the command was received and processed appropriately orthat an error occurred.

Finally, the billing and content server 26 can issue an XML command inorder to update cache memory by changing the status of an entry in thememory authorization table, as identified by the MAC address by way ofexample, from “pending” to “authorized.” In this regard, the XML commandcan include the following command, command attribute, command attributedate and tag and data pair:

Command: “CACHE_UPDATE” Command attr: “MAC_ADDR” Command attr_data: userMAC address (string) tag_1: “PAYMENT_METHOD” data_1: “RADIUS,” “PMS,”“CREDIT_CARD,” or “ROOM_OPEN”

In response, the gateway device will issue a standard XML responseindicating that the command was received and processed appropriately orthat an error occurred.

While the foregoing XML commands and XML responses that would flowbetween a billing and content server 26 and a gateway device 12 havebeen provided by way of example in order to illustrate one particularapplication of the XML interface 32 or XML parser of a gateway device,the gateway device that includes an XML interface according to thepresent invention can be employed to communicate with the billing andcontent server according to a wide variety of other commands andresponses depending upon the application. In addition, a gateway devicethat includes an XML interface can also be employed to communicate witha wide variety of other external devices, including a propertymanagement system 28, an external AAA server, or other external devices.In addition, the gateway device can be configured to issue the XMLcommands and to receive XML responses if necessary for the particularapplication. In any event, a gateway device that includes an XMLinterface facilitates communication between the gateway device andvarious external devices in a uniform manner, thereby avoiding having tocommunicate with each of the external devices according to a uniqueformat established by the vendor of the external device. As a result,the design, implementation operation of the gateway device is greatlysimplified and the user is able to reap the advantages provided by XMLwithout having to reconfigure their computer 14 to support XML.

Many modifications and other embodiments of the invention will come tomind to one skilled in the art to which this invention pertains havingthe benefit of the teachings presented in the foregoing descriptions andthe associated drawings. Therefore, it is to be understood that theinvention is not to be limited to the specific embodiments disclosed andthat modifications and other embodiments are intended to be includedwithin the scope of the appended claims. Although specific terms areemployed herein, they are used in a generic and descriptive sense onlyand not for purposes of limitation.

Enabling Network Gateway Devices to Communicate with Management Systemsto Facilitate Subscriber Management

A system and method for enabling a management system to communicate witha network gateway device to automatically bill a computer operator foraccess to a computer network, such as a local network. The systemincludes a computer, and a network gateway device in communication withthe computer for connecting the computer to a computer network, whereinthe network gateway device maintains data representative of the computeroperator's access to the computer network and wherein the networkgateway device reconfigures the data. The system also includes amanagement system connected to said network gateway device forautomatically billing the computer operator based upon usage of thecomputer network, wherein the management system is configured tocommunicate according to at least one predetermined protocol. Thenetwork gateway device reconfigures the data to meet one of thepredetermined protocols supported by the management system, and themanagement system receives the data reconfigured by the network gatewaydevice and utilizes the data reconfigured by the network gateway devicefor automatic billing purposes. The method for enabling a managementsystem to communicate with a network gateway device to automaticallybill a customer for network access includes allowing a computer operatorto access a computer network via a network gateway device, collectingdata corresponding to a customer's local network access in the networkgateway device, storing the data in the network gateway device,reconfiguring the data to a predetermined data format received from amanagement system, and transmitting the reconfigured data to themanagement system.

In order for a computer to function properly, the computer must beappropriately configured. Among other things, this configuration processestablishes the protocol and other parameters by which the computertransmits and receives data. In one common example, a plurality ofcomputers is networked to create a local area network (LAN). In the LAN,each computer must be appropriately configured in order to exchange dataover the network. Since most networks are customized to meet a uniqueset of requirements, computers that are part of different networks aregenerally configured in different manners in order to appropriatelycommunicate with their respective networks

While desktop computers generally remain a part of the same network fora substantial period of time, laptops or other portable computers arespecifically designed to be transportable. As such, portable computersare connected to different networks at different times depending uponthe location of the computer. In a common example in which the portablecomputer serves as an employee's desktop computer, the portable computeris configured to communicate with their employer's network, i.e., theenterprise network. When the employee travels, however, the portablecomputer may be connected to different networks that communicate indifferent manners. In this regard, the employee may connect the portablecomputer to the network maintained by an airport or by a hotel in orderto access the enterprise network, the internet or some other on-lineservice. Since these other networks are configured somewhat differently,however, the portable computer must also be reconfigured in order toproperly communicate with these other networks. Typically, thisconfiguration is performed by the user each time that the portablecomputer is connected to a different network. As will be apparent, thisrepeated reconfiguration of the portable computer is not only quite timeconsuming, but is also prone to errors.

As described by U.S. patent application Ser. No. 08/816,174 and U.S.Prov. Pat. App. No. 60/111,497, a universal subscriber gateway has beendeveloped by Nomadix, Inc. of Santa Monica, Calif. The contents of bothof these applications are incorporated herein by reference. The gatewaydevice serves as a gateway to a number of networks or other onlineservices. For example, the gateway device can serve as a gateway to theinternet, the enterprise network, or other on-line services. In additionto serving as a gateway, the gateway device automatically configures acomputer to communicate with the new network in a manner that istransparent to the user. In this regard, the gateway device willdownload the necessary protocols and other parameters to the computerwithout any intervention by the operator and without loading anyadditional software on the computer.

Because high speed access to enterprise networks, the internet andon-line services is a desirable commodity, like long distance telephoneservice, costs associated with the service are typically passed on tothe remote user/subscriber. Therefore, in many instances the remoteuser/subscriber is concerned with being able to acquire network accessand service in the most cost efficient and convenient manner. In thisregard, subscriber remote service concerns parallel those concerns ofcustomers utilizing internet service providers for conventionaltelephone line dial-up internet access. In both cases, computeroperators typically want inexpensive, flexible and customer friendlyservice options. Correspondingly, the gateway device administratordesires the capability to be able to offer the user/subscriber numerousand different service and billing rate options, like those available inconventional dial-up internet access. For example, the remote user in ahotel environment may desire a subscription for only a day, or for theduration of their stay at the hotel. The user/subscriber may be chargedon an hourly rate, a daily rate, a weekly rate, or at any otherinterval. Such flexible plans offer cost savings to consumers and are anattractive incentive to lure customers into buying access time to theenterprise network, online services or the internet.

Unlike conventional dial-up internet access, however, gateway devicespermit remote users to access various computer networks and on-lineservices without having a prior service contract or an ongoingrelationship with the service provider. Therefore, unlike conventionaldial up access plans, which can bill subscribers on a set monthlyschedule, gateway devices make recouping remote access charges morechallenging. This is especially true for nomadic users, who may utilizea remote connection to a network only once before relocating. Once thetraveler has moved onward, the network provider may have difficulty incollecting any unpaid service charges. Furthermore, billing of nomadicusers is another hurdle to fast and easy access to the enterprisenetwork, on-line services and the internet. The benefits of remote plugand play access therefore may be overshadowed by time consuming paymentmethods. For example, where a computer operator is required to completean onerous billing procedure to pre-purchase local network time or topay for the network use after each session, the computer operator maydecide not to use the network.

Thus, any convenience provided by the computer network is superseded bythe inconvenient billing method. Gateway device administrators alsodesire convenient methods in which to bill users/subscribers. Becausethe gateway device enables subscribers immediate plug and playconnections to computer networks, such as hotel or airport networks, thecomputer network provider and/or service provider of the high speednetwork would like to quickly and immediately bill theusers/subscribers. This billing should be able to easily track auser/subscriber's usage of the network so as to recoup costs for thenetwork hardware and network connection. Furthermore, such billingshould be automated such that system administrators do not need toindividually bill each remote user.

Therefore, it is desirable for customers, network providers and serviceproviders to implement automatic billing through the computer network sothat users may be billed automatically. Such automatic billing of remoteand nomadic users would benefit customers by facilitating fast and easyaccess, and also would benefit network providers who could appropriatelycharge customers for obtaining remote access.

The present invention relates generally to a network gateway device and,more particularly, to network gateway devices communicating withmanagement systems, such as hotel property management systems, tofacilitate subscriber management. The connection of the users to thesystem can be transparent for billing purposes, although the computernetwork may also provide services to the users through the managementsystem.

According to one embodiment of the invention, there is provided a systemfor enabling a management system to communicate with a network gatewaydevice on order to automatically bill a computer operator for access toa computer network such as a local network. The system includes acomputer, and a network gateway device in communication with thecomputer for connecting the computer to a computer network and formaintaining data representative of the computer operator's access to thecomputer network. The system also includes a management system connectedto the network gateway device that is designed to automatically bill thecomputer operator based upon their access to the computer network. Themanagement system is also designed to communicate with a third partydevice according to at least one predetermined protocol. According tothe present invention, the gateway device is therefore designed tosupply billing data using one of the predetermined protocols supportedby the management system. As such, the management system receives thebilling data supplied by the network gateway device and utilizes thedata for automatic billing purposes.

Furthermore, in the system for enabling a management system tocommunicate with a network gateway device to automatically bill acomputer operator for access to a computer network, the managementsystem can be located within the computer network. Additionally, thesystem can include a translator in communication with the gateway deviceand management system for receiving the data supplied by the networkgateway device. The translator can further reconfigured the suppliedbilling data received from the network gateway device, and can transmitthe further reconfigured data to the management system. The datarepresentative of the computer operator's access to the computer networkcan include data representative of the computer operator's location,access time, date which access was obtained, billing rate, and otherpertinent information.

According to another embodiment of the invention, a method for enablinga management system to communicate with a network gateway device inorder to automatically bill a customer for access to a computer network,such as a local network, is provided. The method comprises allowing anetwork administrator to access a computer network via a network gatewaydevice, and collecting data corresponding to a customer's local networkaccess in the network gateway device. Furthermore, the method of thepresent invention comprises storing the data in the network gatewaydevice, reconfiguring the data to one of the predetermined data formatswhich may be received by a management system, and transmitting thereconfigured data to the management system.

The ability to bill customers for service automatically and trackcustomers without system intervention allows the local network serviceprovisioning to be done economically and efficiently. This inventionprovides an incentive for hotels, airports, and other computer networksto provide network connections to users because the computer network hasa captive customer base. Furthermore, automatic billing can enableusage-based billing for network access and services, which is desirableto customers. Finally, automatic billing can reduce the risk of networkuse by an unauthorized user.

Referring now to FIG. 5, the computer system 10 that includes a gatewaydevice 12 is depicted in block diagram form. The computer system 10typically includes a plurality of computers 14 that access a computernetwork in order to gain access to networks 20 or other online services22. For example, the computers 14 can be plugged into ports that arelocated in different rooms of a hotel or a multi-dwelling unit.Alternatively, the computers 14 can be plugged into ports in an airport,an arena, or the like. The gateway device 12 provides an interfacebetween the plurality of computers 14 and the various networks 20 orother online services 22.

Most commonly, the gateway device 12 is located near the computers 14 ata relatively low position in the overall network (i.e., the gateway willbe located within the hotel, multi-unit residence, airport, etc.).However, the gateway device 12 can be located at a higher position inthe system by being located closer to the various networks 20 or otheronline services 22, if so desired. Although the gateway device 12 can bephysically embodied in many different fashions, the gateway device 12typically includes a controller and a memory device in which software isstored that defines the operational characteristics of the gatewaydevice 12. Alternatively, the gateway device 12 can be embedded withinanother network device, such as an access controller 16 or a router 18.Moreover, the software that defines the functioning of the gatewaydevice 12 can be stored on a PCMCIA card that can be inserted into acomputer of the plurality of computers 14 in order to automaticallyreconfigure the computer to communicate with a different computersystem, such as the networks 20 and online services 22.

The computer system 10 typically includes an access controller 16positioned between the computers 14 and the gateway device 12 formultiplexing the signals received from the plurality of computers onto alink to the gateway device 12. Depending upon the medium by which thecomputers 14 are connected to the access controller, the accesscontroller 16 can be configured in different manners. For example, theaccess controller can be a digital subscriber line access module (DSLAM)for signals transmitted via regular telephone lines, a cable head endfor signals transmitted via coaxial cables, a wireless access point(WAP) for signals transmitted via a wireless network, a CMPS, a switchor the like. As also shown in FIG. 5, the computer system 10 typicallyincludes one or more routers 18 and/or servers (not shown in FIG. 5) ofa plurality of computer networks 20 or other online services 22. Whilethe computer system 10 is depicted to have a single router, the computersystem 10 can have a plurality of routers, switches, bridges, or thelike that are arranged in some hierarchical fashion in order toappropriately route traffic to and from the various networks 20 or otheronline services 22. In this regard, the gateway device 12 typicallyestablishes a link with one or more routers. The routers, in turn,establish links with the servers of other networks or other onlineservice providers, such as internet service providers, based upon thesubscriber's selection. It will be appreciated by one of ordinary skillin the art that one or more devices illustrated in FIG. 5 may becombinable. For example, although not shown, the router 18 may belocated entirely within the gateway device 12.

The gateway device 12 is specifically designed to allow computers to logonto the computer network in a manner that is transparent to thesubscriber In the typical computer network that employs dynamic hostconfiguration protocol (DHCP) service, the DHCP server 24 will initiallyassign an IP address to a computer that is logging onto the computernetwork. Upon opening their web browser or otherwise attempting toaccess an on-line service, the gateway device 12 will direct thesubscriber to enter their ID and password. The gateway device 12 thendetermines if the subscriber is entitled to access the computer system,the level of access and/or the type of services to which the subscriberis entitled according to an authentication, authorization and accountingprocedure that is described by U.S. patent application Ser. No.08/816,174 and U.S. Provisional Application No. 60/111,497. Assumingthat the subscriber has been authenticated and has authorization, thegateway device 12 typically presents new subscribers with a home page orcontrol panel that identifies, among other things, the online servicesor other computer networks that are accessible via the gateway device12. In addition, the home page presented by the gateway device 12 canprovide information regarding the current parameters or settings thatwill govern the access provided to the particular subscriber. As such,the operator can readily alter the parameters or other settings in orderto tailor the service according to their particular application.Typically, changes in the parameters or other settings that willpotentially utilize additional resources of the computer system willcome at a cost, such that the gateway device 12 will charge thesubscriber a higher rate for their service. For example, a subscribermay elect to increase the transfer rate at which signals are transmittedacross the computer network and pay a correspondingly higher price forthe expedited service.

The home page also permits the subscriber to select the computer network20 or other online service 22 that the subscriber wishes to access. Forexample, the subscriber can access the enterprise network on which thecomputer is typically resident. Alternatively, the subscriber can accessthe internet or other on-line services. Once the subscriber elects toaccess a computer network or other online service, the gateway device 12establishes the appropriate links via one or more routers 18 to thedesired computer network or online service.

Thereafter, the subscriber can communicate freely with the desiredcomputer network 20 or other online service 22. In order to support thiscommunication, the gateway device 14 generally performs a packettranslation function that is transparent to the subscriber. In thisregard, for outbound traffic from the computer 12 to the computernetwork or other on-line service, the gateway device 12 changes thecontent of the packet, such as the source address, checksum, andapplication specific parameters, such that all outgoing packets will bedirected back to the gateway device 12 rather than to the computer. Incontrast, the inbound traffic from the computer network or other onlineservice that arrives at the gateway device 12, which is really intendedfor the computer, is passed through the translation function so thepackets eventually delivered to the computer appear to have been sentdirectly to the computer. As such, the computer will be completelyunaware of the translation being performed by the gateway device.Additional information regarding the translation function is provided byU.S. patent application Ser. No. 08/816,714. By utilizing the gatewaydevice 12 to communicate with the computer network or other onlineservice, however, the subscriber will never have had to configure theircomputer 12 since the gateway device automatically adopts the computerin a manner that is transparent to the subscriber.

FIG. 6 shows a block diagram of the computer system 10 of FIG. 5,implemented in a hotel computer system 50, according to one embodimentof the present invention. It will be appreciated by those of skill inthe art that the embodiment shown in FIG. 6 is for illustrativepurposes, and that the computer system 10 may be implemented withrespect to computer networks established in airports, arenas, apartmentcomplexes, office buildings or the like. The hotel computer system 50 isessentially identical to the computer system 10 shown in FIG. 6, exceptthat the gateway device 12 is also connected to a property managementsystem 56. The gateway device 12 may be connected to the propertymanagement system 56 through a translator 53, which is illustrated withphantom lines because the translator 53 is an optional component in thehotel computer system 50, as will be explained in detail below. Becausethe hotel computer system 50 comprises similar components to the systemillustrated in FIG. 5, it will be appreciated that the systems can beimplemented in like manners with like components. Furthermore,additional embodiments of the present invention discussed with respectto FIG. 5 may be implemented in the system 50 shown in FIG. 6.

As shown in FIG. 6, each of the plurality of computers 14 is located ina different hotel room 60, 70, 80 and 90 to allow multiple guests toaccess the hotel's computer network. The computers 14 are connected tothe access controller 16 through a communications port in each roomusing a communications device such as a DSL modem, an ethernet card, acoaxial cable, or another well known communication device. Mostpreferably, the connection between the computers 14 and the accesscontroller 16 is a high speed connection, so that the computers 14 canreceive data as fast as the gateway device 12 can forward the data. Thedata transmitted from the gateway device 12 to the computers mayoriginate from any devices located within the computer network or anydevices in communication with the computer network, such as theinternet. As with any multiple link communication system, the rate atwhich data is received by the computers 14 will be no higher than theslowest baud rate over any link in the system.

The gateway device 50 is in direct communication with the managementsystem 56. Management systems may include any well known computer basedsystems implemented in hotels, airports, arenas or other venues tomanage operations. In the embodiment of FIG. 6, the management system isa property management system located within a hotel. Typical hotelproperty management systems automate operations such as roomreservations, room assignments, guest check-in and check-out, and otherfront desk activities. Furthermore, typical hotel property managementsystems can maintain a log of telephone calls and telephone charges foreach guest room, and can be in communication with the internet tofacilitate on-line reservations. Such management systems are typicallyimplemented through the use of one or more conventional computers thatare interconnected to form a network. The management system 56 shown inFIG. 6 is illustrative of one such system. As will be appreciated bythose of skill in the art, the management system can be located within,and in direct communication with, the computer network.

In the embodiment of FIG. 6, the gateway device 50 is in communicationwith the property management system 56 such that each user/subscriber'saccess and connection to the hotel network via the gateway device 12 canbe easily monitored by the property management system 56. Preferably,the gateway device 12 is connected to the property management system 56through a serial port interface. The connection may operate at a varietyof baud rates, although 2400 or 9600 bits per second are typical. Themain purpose for the connection is to allow the hotel to bill eachspecific user/subscriber for their use and connection to the hotel'snetwork, and to automatically bill such use directly to the room fromwhich access was obtained. The property management system 56 can monitorand record information such as the identity of the user, the room fromwhich the user obtained access, the amount of time that the userutilized the network, the cost of each network access, the time, dateand duration of the network access, and other additional information. Asa result, the present invention offers user/subscribers of a computernetwork convenient payment plans in which a user does not have topre-pay for network access or physically pay each time the network isaccessed.

As will be appreciated by those of skill in the art, the informationpassed from the gateway device 12 can be, in most respects, identical toinformation received by the property management system 56 from a privatebranch telephone system (PBX), which are commonly utilized in hotels.PBX systems allow room to room, local and long distance telephone callsto be made by guests, and are typically connected to hotel propertymanagement systems to facilitate billing of hotel guests based upon theroom in which the call is made. Charges for such use can then be paid bythe guest upon checkout, automatically billed to the guest's credit cardor automatically billed to the guest with room charges.

As can be appreciated with reference to FIG. 6, the property managementsystem 56 can be in communication with additional devices other than thecomputer gateway system 10 of the present invention. As noted above, theproperty management system 56 can be directly connected to a PBX, whichis, in turn, connected to each telephone located in every hotel room.Additionally, although not illustrated, the property management system56 can be connected to additional third party components, such as payper view television, credit card authorization systems and point of salesystems. These connections may be through serial ports, modemcommunications, or through other well known communication means. Suchconnections allow the management system to function as a fullyintegrated system, which allows customers to use a variety of hotelresources, while transparently being billed for each transaction.

Through the property management systems, a user/subscriber's account maybe billed directly to that user's hotel bill. For example, where themanagement system receives data representing a computer operator'saccess to the local system, the management system can automatically billthe operator through the use of a credit card authorization system incommunication with the property management system. In this manner, thecustomer's payment can be fast, easy, automated and transparent to theuser.

Traditional hotel property management systems are configured tocommunicate with various third party systems, such as point of salesystems, PBX systems, pay per view systems, and credit cardauthorization servers, as noted above. Hotel property management systemsare generally configured to receive such communications because thesethird party systems are typically used in the vast majority of hotels.To receive data from each of these third party systems, managementsystems typically include software for communicating with the thirdparty systems based upon the data protocol and data structureimplemented by the management system. The software allows data fromthird party systems to be received and reconfigured, if necessary, sothat the data is in a format appropriate to be utilized by themanagement system 56. However, because typical management systems thatare currently deployed are not designed to receive data from a gatewaydevice 12, the gateway device 12 is preferably designed to interfacewith the management system 56 without requiring additional programmingof the management system software.

The gateway device 12 of the present invention formats data such thatthe data has the same data protocol and data structure as that of athird party service, such as a PBX, that the management system 56 isalready designed to receive. The management system 56 is adapted tocommunicate using different protocols, through technology known as COMobjects. Thus, the gateway device 12 can masquerade as a PBX or anotherthird party system. The gateway device 12 receives a data recordcorresponding to an individual user/subscriber's use of the computersystem, including the user/subscriber's location (room number), accesstime, and additional information, as discussed above. The gateway device12 stores this information and modifies the data record to fit theproper format required by the property management system vendor.Although the format of the data is changed, no data is changed in themodification. The reconfigured data is then transmitted to themanagement system 56. This data can be in a call accounting record (CAR)and low level protocol (LLC) format, data formats typical of third partysystems such as PBXs. Such formats are well known to those of skill inthe art of property management system design.

Because management systems can differ, each system utilizing differentuser interfaces, variables, and operating systems, the gateway deviceshould communicate data to the property management system 56 using dataformats acceptable to a large number of management systems. In thismanner, the gateway device 12 may be compatible with a majority ofproperty management systems. For example, the gateway device 12 may bepreconfigured to operate with the most popular management systems andformats, such as Micros Fidelio (manufactured by MICROS Systems, Inc.,Beltsville, Md.), HOBIC, AutoClerk (manufactured by AutoClerk, Inc.,Lafayette, Calif.), and other well known systems and formats.

However, there are many different management system standards, none ofwhich are universal and implemented in all property management systems.As a result, although the gateway device 12 can configure data toconform to a large number of differing management systems, the gatewaydevice 12 may not be able to conform to some systems. As a result, atranslator 53 may be optionally used to manipulate the data output bythe gateway device 12 in such a manner as to allow the data to beutilized by the property management system 56. In one embodiment, thetranslator may comprise a Lodging Link II device (LL) (manufactured byProtocol Technologies, Inc., Scottsdale, Ariz.) to convert incoming datafrom the gateway device 12 to data acceptable to the property managementsystem device, such as UHALL protocol. Additionally, the translator mayalso be connected to one or more devices or systems in communicationwith the property management system, such as the pay per view system orcredit card authorization system, to format data output by any system orcomponent having data protocols which differ from those of themanagement system 56.

Because data may be transferred to the management system in a CARformat, data typically within such format must be altered to accuratelyreflect the computer network service being provided to theuser/subscriber. For example, in PBX systems, CAR format usuallyincludes the phone number to which a telephone call is being made.However, when a user/subscriber is obtaining access to the hotel networkvia the gateway device 12, no telephone number is dialed or called.Therefore, when possible, data within the CAR format (i.e., telephonerecord), such as telephone numbers, may be replaced with a descriptiverecord that indicates some other data that the property managementsystems wish to track or record. On the other hand, where the CARrecords cannot be replaced, a bogus field, such as a bogus telephonenumber, may be included so that the property management system receivesthe entire record it is programmed to receive. Thereafter, the bogusnumber is not utilized by the management system 56. Additional problemsmay also exist, for example, where the management system 56 is notdevised to support the non-numeric ASCII characters typicallytransmitted by the gateway device 12. In this situation, the gatewaydevice can be configured to replace the ASCII characters with numeraldesignations.

Once the data transmitted by the gateway device is received by theproperty management system 56, the property management system candisplay the data using a management system interface. Preferably, thedata may be displayed in an easily readable and printable form to allowa user/subscriber to view a summary of access information. Additionally,the data should be accessible to the user/subscriber's accountingrecord. In this manner, charges due to network access may beautomatically placed on a customer's pre-existing bill, such as a hotelbill. Where access is obtained at another location, such as at anairport, the airport system manager (i.e., equivalent to the hotelproperty management system in the above example) may automatically billthe customer, can automatically charge the customer's credit card, orcan add the charges to an account which the customer maintains. In thisregard, while the property management system 56 has primarily beendescribed in conjunction with a hotel computer network, the propertymanagement system can be utilized in a variety of other applications inwhich a user/subscriber obtains access to a computer network or otheron-line service via a gateway device.

1.-15. (canceled)
 16. A method of providing services to users, themethod being performed at a network system, the method comprising:receiving a request, at a network system, from a subscriber computer toaccess a network resource via the network system; generating a first XMLcommand at the network system responsive to the request from thesubscriber computer to access the network resource via the networksystem, said first XML command including data associated with thesubscriber computer; and transmitting the first XML command to aproperty management system (PMS), said PMS configured to relate the dataassociated with the subscriber computer in the first XML command with anaccount stored in the PMS.
 17. The method of claim 16, wherein the dataassociated with the subscriber computer in the first XML commandcomprises an identifier of a hotel room number associated with thesubscriber computer.
 18. The method of claim 16, further comprisingreceiving a second XML command from the PMS, said second XML commandincluding an authorization result determined by the PMS based on thefirst XML command.
 19. The method of claim 18, further comprisingauthorizing the subscriber computer to access the network resource basedon the authorization result from the received second XML command fromthe PMS.
 20. The method of claim 18, further comprising transmitting athird XML command including a confirmation identifier based on theauthorization result to a service provider system.
 21. The method ofclaim 16, wherein the data associated with the subscriber computer inthe XML command comprises service purchase information.
 22. A computingsystem configured to manage services provided to users, the systemcomprising: a communications interface configured to communicate with aproperty management system (PMS); a subscriber interface configured toreceive a request from a subscriber computer to access a networkresource; and an XML processing module when executed on a processorconfigured to: generate a first XML command responsive to a request fromthe subscriber computer to access the network resource, said first XMLcommand including data associated with the subscriber computer; andtransmit the first XML command to the PMS via the communicationsinterface, said PMS configured to charge an account based on the dataassociated with the subscriber computer in the first XML command. 23.The computing system of claim 22, wherein the data associated with thesubscriber computer in the first XML command comprises an identifier ofa hotel room number associated with the subscriber computer.
 24. Thecomputing system of claim 22, wherein the communications interface isfurther configured to receive a second XML command from the PMS, saidsecond XML command including an authorization result determined by thePMS based on the first XML command.
 25. The computing system of claim24, wherein the subscriber interface is configured to send a response tothe subscriber computer based on the authorization result from thereceived second XML command from the PMS.
 26. The method of claim 24,wherein the communications interface is further configured to transmit athird XML command including a confirmation identifier based on theauthorization result to a service provider system.
 27. The method ofclaim 22, wherein the data associated with the subscriber computer inthe XML command comprises service purchase information.
 28. Anon-transitory computer-readable medium, comprising instructionsconfigured to cause a computer processor to perform operationscomprising: receiving a request from a subscriber computer to access anetwork resource; generating a first XML command responsive to therequest from the subscriber computer to access the network resource,said first XML command including data associated with the subscribercomputer; and transmitting the first XML command to a propertymanagement system (PMS), said PMS configured to relate the dataassociated with the subscriber computer in the first XML command with anaccount stored in the PMS.
 29. The non-transitory computer-readablemedium of claim 28, wherein the data associated with the subscribercomputer in the first XML command comprises an identifier of a hotelroom number associated with the subscriber computer.
 30. Thenon-transitory computer-readable medium of claim 28, further comprisinginstructions configured to cause a computer processor to receive asecond XML command from the PMS, said second XML command including anauthorization result determined by the PMS based on first XML command.31. The non-transitory computer-readable medium of claim 30, furthercomprising instructions configured to cause a computer processor toauthorize the subscriber computer to access the network resource basedon the authorization result from the received second XML command fromthe PMS.
 32. The non-transitory computer-readable medium of claim 30,further comprising instructions configured to cause a computer processorto transmit a third XML command including a confirmation identifierbased on the authorization result to a service provider system.
 33. Thenon-transitory computer-readable medium of claim 28, wherein the dataassociated with the subscriber computer in the XML command comprisesservice purchase information.